		<table class="custom-table" cellpadding="0" cellspacing="0">
			<thead>
			<tr>
				<th class="th01">ID</th>
<!-- 				<th class="th02">编码</th> -->
				<th class="th03">绑定用户</th>
				<th class="th04">使用状态</th>
<!-- 				<th class="th05">操作</th> -->
			</tr>
			</thead>
			<tbody>
			<?php if(count($this->paginator)>0):?>
			<?php foreach ($this->paginator as $voucher) : ?>
				<tr>
                 <td><?php echo $this->escapeHtml($voucher->id);?></td>
<!--                 <td><?php echo $this->escapeHtml($voucher->code);?></td> -->
                 <td><?php echo $this->escapeHtml($voucher->user_id);?></td>
                 <td><?php echo $this->escapeHtml($this->CommonHelper()->used($voucher->has_use));?></td>
<!--                  <td><a href="/crm/voucher/add/?type=edit">代金券详情</a>／<a href="javascript:deleteVt('')">删除</a></td> -->
				</tr>
			<?php endforeach; ?>
			<?php endif;?>
			</tbody>
		</table>
<?php
 // add at the end of the file after the table
 echo $this->paginationControl(
     // the paginator object
     $this->paginator,
     // the scrolling style
     'sliding',
     // the partial to use to render the control
     'partial/ajax-paginator.phtml',
     // the route to link to when a user clicks a control link
     array(
         'route' => $this->url('crm/voucher',
          array('action'=>'ajax-voucher-List')),
         'params_string' => ''
     )
 );
 ?>